package com.chuan.thinkingjava.interview.look.volatiles;

public class RunThread extends Thread{

    private boolean isRunning = true;

    private boolean isRunning() {
        return isRunning;
    }
     private void setRunning(boolean isRunning) {
            this.isRunning = isRunning;
     }
}
